IImage.loadFromMemory

loadMemory expects data to be decoded. This process is not instant on Web. A decision was made of putting successful and unsuccessful callbacks for that reason. Prefer using the onError callback rather than the bool return.

interface IImage
bool
loadFromMemory
(
ubyte[] data
,
void delegate onSuccess
,
void delegate
()
onFailure
)

Meta